package com.erpoa.service;

import com.alibaba.fastjson.JSONObject;
import com.erpoa.dto.BatchMatCombLine;
import com.erpoa.dto.BatchMatCombineMain;
import com.erpoa.entity.PackMessageByMerge;

import java.util.List;

/**
 * @author chenjimin
 * @Title: BatchMergeService
 * @ProjectName oaerp
 * @Description: TODO
 * @date 2021/1/2813:28
 */
public interface BatchMergeService {
    /**
     * @param packMessage
     * @return
     */
    List<BatchMatCombineMain> selectBatchMergeToday(PackMessageByMerge packMessage);

    /**
     * 查询权限
     *
     * @param packMessage
     * @return
     */
    JSONObject querytcPgenFile(PackMessageByMerge packMessage);


    /**
     * @param packMessage
     * @return
     */
    JSONObject selectSequnce(PackMessageByMerge packMessage);


    /**
     * @param packMessage
     * @return
     */
    List<BatchMatCombLine> selectBatchMergeLine(PackMessageByMerge packMessage);

    /**
     * @param packMessage
     * @return
     */
    JSONObject selectBatchMergeLineByScan(PackMessageByMerge packMessage);

    /**
     * @param packMessage
     * @return
     */
    JSONObject updateMergeLineByScan(PackMessageByMerge packMessage);

    /**
     * @param packMessage
     * @return
     */
    JSONObject delMergeLineByScan(PackMessageByMerge packMessage);


    JSONObject selectBatchNoByPackmessage(PackMessageByMerge packMessage);
}
